package com.example.newbook.service;


import com.example.newbook.entity.Book;
import com.example.newbook.entity.Pageable;

public interface BookService {

    Pageable findByPage(Integer categoryId, int page, int size, String sortField, int sortDir);



    int saveBook(Book book);

    int modifyBook(Book book);

    int deleteBookById(Integer bid);

    Book findBookById(Integer bid);


}
